import { NgModule } from '@angular/core';
import { BrowserModule } from  '@angular/platform-browser';

/* Common Module */
import { CommonModule } from '../common/common.module';

/* GameViewComponent Component */
import { GamePViewComponent } from './gamePView.component';

/* gamePreviewService Service */
 import { gamePreviewService } from '../../service/gamePreview.service';

@NgModule({
    imports: [
        BrowserModule,
        CommonModule
    ],
    providers: [
        gamePreviewService
    ],
    declarations: [
        GamePViewComponent // 主组件
    ],
    exports: [ GamePViewComponent ]
})
export class GamePViewModule {

    constructor() {
        console.log('Module: "GameViewModule" Loading completed');
    }

}